package com.tl.commonlibrary.ui.beans;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/6/5 0005.
 */
@Entity
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final int GENDER_WOMAN = 2;
    public static final int GENDER_MAN = 1;
    private String token;
    @Id
    private String uid;
    private String username;
    private int levelId;
    private String education;
    private long goldCoin;
    private String graduated;
    private String mobile;
    private String nickname;
    private String fullName;
    private int gender;
    private String profilePhoto;
    private String email;

    @Generated(hash = 586692638)
    public User() {
    }

    @Generated(hash = 520668161)
    public User(String token, String uid, String username, int levelId,
            String education, long goldCoin, String graduated, String mobile,
            String nickname, String fullName, int gender, String profilePhoto,
            String email) {
        this.token = token;
        this.uid = uid;
        this.username = username;
        this.levelId = levelId;
        this.education = education;
        this.goldCoin = goldCoin;
        this.graduated = graduated;
        this.mobile = mobile;
        this.nickname = nickname;
        this.fullName = fullName;
        this.gender = gender;
        this.profilePhoto = profilePhoto;
        this.email = email;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getLevelId() {
        return levelId;
    }

    public void setLevelId(int levelId) {
        this.levelId = levelId;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public long getGoldCoin() {
        return goldCoin;
    }

    public void setGoldCoin(long goldCoin) {
        this.goldCoin = goldCoin;
    }

    public String getGraduated() {
        return graduated;
    }

    public void setGraduated(String graduated) {
        this.graduated = graduated;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProfilePhoto() {
        return profilePhoto;
    }

    public void setProfilePhoto(String profilePhoto) {
        this.profilePhoto = profilePhoto;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
